configure.in line 190
Added :
SHARED_LIBRARY_EXT=dylib       # shared library extension
CFLAGS="$CFLAGS -traditional-cpp  -fno-common" # use traditional preprocessor to enable __attribute__ ((unused)) without warning and fno-common for the dylib building

linux/src/MakeFile.in line 116
Added :
libopenal.dylib: $(AL_OBJS) $(ALC_OBJS) $(AC_OBJS) $(ALUT_OBJS) extensions
	$(CC) -dynamiclib -prebind \
		-o libopenal.dylib \
		$(LDFLAGS)     \
		$(AL_OBJS)     \
		$(ALC_OBJS)    \
		$(AC_OBJS)     \
		$(ALUT_OBJS)   \
		$(EXT_OBJS)    \
		$(LIBS)

linux/src/MakeFile.in line : 94
Changed :
	rm -f $(EXT_OBJS)
	rm -f $(EXT_DLL_OBJS)
into:
	rm -f $(EXT_OBJS) $(EXT_DLL_OBJS)
to prevent rm from complaining and stop the make clean on MOSX.


linux/test/testlib.h : added extern before every var / ptr declaration and moved the *real* declaration into testlib.c to ensure compiling on MOSX with dynamic libs and because no common symbols is cleaner.
